package com.fx.jhr.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 学生监护人对象 fx_xs_jhr
 *
 * @author fxiao
 * @date 2021-08-05
 */
public class XsJhr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 学生id，源自“fx_student”表 */
    private Long xsId;

    /** 与学生关系，缘字字典表，“qsgx” */
    @Excel(name = "与学生关系，缘字字典表，“qsgx”")
    private String gx;

    /** 姓名 */
    @Excel(name = "姓名")
    private String xm;

    /** 民族。来自于数据字典 */
    @Excel(name = "民族。来自于数据字典")
    private String mz;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String sfzh;

    /** 所属社区 */
    @Excel(name = "所属社区")
    private String sssq;

    /** 详细住址 */
    @Excel(name = "详细住址")
    private String xxzz;

    /** 性别。来自于数据字典 */
    @Excel(name = "性别。来自于数据字典")
    private String xb;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date csrq;

    /** 居住地行政区划id，来自于fx_administrative_divisions表 */
    @Excel(name = "居住地行政区划id，来自于fx_administrative_divisions表")
    private Long jzdAsdsId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String sj;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setXsId(Long xsId)
    {
        this.xsId = xsId;
    }

    public Long getXsId()
    {
        return xsId;
    }
    public void setGx(String gx)
    {
        this.gx = gx;
    }

    public String getGx()
    {
        return gx;
    }
    public void setXm(String xm)
    {
        this.xm = xm;
    }

    public String getXm()
    {
        return xm;
    }
    public void setMz(String mz)
    {
        this.mz = mz;
    }

    public String getMz()
    {
        return mz;
    }
    public void setSfzh(String sfzh)
    {
        this.sfzh = sfzh;
    }

    public String getSfzh()
    {
        return sfzh;
    }
    public void setSssq(String sssq)
    {
        this.sssq = sssq;
    }

    public String getSssq()
    {
        return sssq;
    }
    public void setXxzz(String xxzz)
    {
        this.xxzz = xxzz;
    }

    public String getXxzz()
    {
        return xxzz;
    }
    public void setXb(String xb)
    {
        this.xb = xb;
    }

    public String getXb()
    {
        return xb;
    }
    public void setCsrq(Date csrq)
    {
        this.csrq = csrq;
    }

    public Date getCsrq()
    {
        return csrq;
    }
    public void setJzdAsdsId(Long jzdAsdsId)
    {
        this.jzdAsdsId = jzdAsdsId;
    }

    public Long getJzdAsdsId()
    {
        return jzdAsdsId;
    }
    public void setSj(String sj)
    {
        this.sj = sj;
    }

    public String getSj()
    {
        return sj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("xsId", getXsId())
            .append("gx", getGx())
            .append("xm", getXm())
            .append("mz", getMz())
            .append("sfzh", getSfzh())
            .append("sssq", getSssq())
            .append("xxzz", getXxzz())
            .append("xb", getXb())
            .append("csrq", getCsrq())
            .append("jzdAsdsId", getJzdAsdsId())
            .append("sj", getSj())
            .toString();
    }
}
